function RequestDetailAssistant(argFromPusher) {
	this.nid = argFromPusher.nid;
}

RequestDetailAssistant.prototype = {
	nid: -1,
	node: null,
	setup: function() {
		Ares.setupSceneAssistant(this);
		var this1 = this;
		drupalService('node.get', {nid: this.nid}, this, function(data) {
			this1.node = data;
			this1.$.idLbl.setLabel(data.nid);
			this1.$.createdLbl.setLabel(new Date(parseInt(data.created)*1000).toString().substring(4,24));
			this1.$.accountLbl.setLabel(data.name);
			this1.$.titleLbl.setLabel(data.title);
			this1.$.prodLbl.setLabel(data.field_hpproductversion[0].value);
			this1.$.stateLbl.setLabel(workflowStates.filter(function(val){
				return val.sid == data._workflow;
			})[0].state);
			var catyStr = "";
			Object.keys(data.taxonomy).each(function(tid){
				catyStr += data.taxonomy[tid].name + "\n";
			});
			this1.$.catyLbl.setLabel(catyStr);
			this1.$.severityLbl.setLabel(requestSeverities.filter(function(val){
				return val.value == data.field_requestseverity[0].value;
			})[0].label);
			this1.$.dueDateLbl.setLabel(data.field_requestduedate[0].value.substring(0,10));
			this1.$.emailLbl.setLabel(data.field_requestcontactemail[0].value);
			this1.$.phoneLbl.setLabel(data.field_requestcontactphone[0].value);
		});
	},
	cleanup: function() {
		Ares.cleanupSceneAssistant(this);
	},
	descLblTap: function(inSender, event) {
		var desc = this.node.body.replace(/width\s*:\s*\d+px\s*;/, "");
		Mojo.Controller.stageController.pushScene("staticHtml", 
				{title: this.node.title, body: desc});
	}
};